#pragma once

#include <unistd.h>

namespace hawking {
namespace indexlib {

DECLARE_int32(io_uring_queue_size);

/**
 * @brief used for Init DiskFileReadProcesser
 * @param io_uring_queue_size       io uring queue length
 */
struct AioOption {
    uint32_t io_uring_queue_size;

    AioOption(uint32_t i) :
        io_uring_queue_size(i) {}
    
    AioOption() :
        io_uring_queue_size(FLAGS_io_uring_queue_size) {}
};

}
}
